package com.lzw.service.impl;

import com.lzw.bean.Role;

import com.lzw.common.bean.Result;
import com.lzw.common.service.impl.BaseServiceImpl;
import com.lzw.mapper.RoleMapper;
import com.lzw.service.RoleService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * Created by Administrator on 2017/6/30 0030.
 */
@Service("roleService")
public class RoleServiceImpl  extends BaseServiceImpl<RoleMapper,Role> implements RoleService{


    @Override
    public List<Role> selectByUser(int userId) {
        return baseMapper.selectByUser(userId);
    }
}
